<!--{*
 * edit 20140123
 *}-->

<div id="undercolumn">
    <div id="undercolumn_shopping">
        <div class="flow_area">
			<ol>
			<li class="active"><!--{t string="tpl_<span>&gt; STEP1</span><br />Delivery destination" escape="none"}--></li>
			<li class="large"><!--{t string="tpl_<span>&gt; STEP2</span><br />Payment method and delivery time" escape="none"}--></li>
			<li><!--{t string="tpl_<span>&gt; STEP3</span><br />Confirmation" escape="none"}--></li>
			<li class="last"><!--{t string="tpl_<span>&gt; STEP4</span><br />Order complete" escape="none"}--></li>
			</ol>
		</div>
        <h2 class="title"><!--{t string="c_Delivery destination_01"}--></h2>

        <div id="address_area" class="clearfix">
            <div class="information">
                <p><!--{t string="tpl_Select the delivery address from the list and click the 'Send to the selected address' button."}--></p>
                <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
                    <p><!--{t string="tpl_If you do not find the desired address in the list, add and register it by selecting 'Add new delivery destination'."}--></p>
                <!--{/if}-->
                <p class="mini attention">* <!--{t string="tpl_Up to"}--> <!--{$smarty.const.DELIV_ADDR_MAX|h}--> <!--{t string="tpl_addresses can be registered."}--></p>

            </div>
            <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}-->
                <div class="add_multiple">
                    <p><!--{t string="tpl_Will you be sending this product multiple destinations?"}--></p>

                    <a class="bt01" href="javascript:;" onclick="fnModeSubmit('multiple', '', ''); return false"><!--{t string="tpl_Designate multiple delivery destinations"}--></a>
                </div>
            <!--{/if}-->
        </div>

        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
            <p class="addbtn">
                <a class="bt01" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr/<!--{$smarty.const.LANGUAGE}-->.html" onclick="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr/<!--{$smarty.const.LANGUAGE}-->.html?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;"><!--{t string="tpl_Add new delivery destination_01"}--></a>
            </p>
        <!--{/if}-->

        <form name="form1" id="form1" method="post" action="?">
        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
        <input type="hidden" name="mode" value="customer_addr" />
        <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
        <input type="hidden" name="other_deliv_id" value="" />
        <!--{if $arrErr.deli != ""}-->
            <p class="attention"><!--{$arrErr.deli}--></p>
        <!--{/if}-->
        <table summary="Designation of delivery destination">
            <col width="10%" />
            <col width="20%" />
            <col width="50%" />
            <col width="10%" />
            <col width="10%" />
            <tr>
                <th class="alignC"><!--{t string="tpl_Selection_01"}--></th>
                <th class="alignC"><!--{t string="tpl_Address type"}--></th>
                <th class="alignC"><!--{t string="c_Delivery destination_01"}--></th>
                <th class="alignC"><!--{t string="tpl_Change_01"}--></th>
                <th class="alignC"><!--{t string="tpl_Delete_01"}--></th>
            </tr>
            <!--{section name=cnt loop=$arrAddr}-->
                <tr>
                    <td class="alignC">
                        <!--{if $smarty.section.cnt.first}-->
                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="-1" <!--{if $arrForm.deliv_check.value == "" || $arrForm.deliv_check.value == -1}--> checked="checked"<!--{/if}--> />
                        <!--{else}-->
                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrAddr[cnt].other_deliv_id}-->"<!--{if $arrForm.deliv_check.value == $arrAddr[cnt].other_deliv_id}--> checked="checked"<!--{/if}--> />
                        <!--{/if}-->
                    </td>
                    <td class="alignC">
                        <label for="chk_id_<!--{$smarty.section.cnt.iteration}-->">
                            <!--{if $smarty.section.cnt.first}-->
                                <!--{t string="tpl_Member registration address"}-->
                            <!--{else}-->
                                <!--{t string="tpl_Additional registered address"}-->
                            <!--{/if}-->
                        </label>
                    </td>
                    <td>
                        <!--{$arrAddr[cnt].addr01|h}--><!--{$arrAddr[cnt].addr02|h}--><br />
                        <!--{$arrAddr[cnt].name01|h}--> <!--{$arrAddr[cnt].name02|h}-->
                    </td>
                    <td class="alignC">
                        <!--{if !$smarty.section.cnt.first}-->
                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr/<!--{$smarty.const.LANGUAGE}-->.html?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;"><!--{t string="tpl_Change_01"}--></a>
                            <!--{else}-->
                                -
                            <!--{/if}-->
                    </td>
                    <td class="alignC">
                        <!--{if !$smarty.section.cnt.first}-->
                            <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">D<!--{t string="tpl_Delete_01"}--></a>
                            <!--{else}-->
                                -
                            <!--{/if}-->
                    </td>
                </tr>
            <!--{/section}-->
        </table>

        <div class="btn_area">
            <ul>
                <li>
                    <a class="bt04" href="<!--{$smarty.const.CART_URLPATH}-->"><!--{t string="tpl_Go back_01"}--></a>
                </li>
                <li><button class="bt02 bt_wide"><!--{t string="tpl_Send to the selected address"}--></button>
                </li>
            </ul>
        </div>

        </form>
    </div>
</div>
